package com.gqzm.side.domain.bo;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.*;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

/**
 * @ClassName: {@link BoxInfoSocketBO}
 * @description: 边端盒子信息消息体
 * @author: peter qin
 * @date: 2023 09 08
 * @version: 1.0
 **/
@Getter
@Setter
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class BoxInfoSocketBO implements Serializable {
    private String code;
    private String name;
    private String status;
    private String ip;
    @JSONField(name = "storage_space")
    private Double storageSpace;
    @JSONField(name = "storage_used")
    private Double storageUsed;
    @JSONField(format = "yyyy-MM-ddTHH:mm:ss.SSS")
    private LocalDateTime timestamp;
    private List<BoxInfoCameraInfoBO> cameras;
    private BoxMonitorMongodbBO monitor;
    @JSONField(name = "detect_path")
    private String detectPath;

}
